PATHMac OS 8 Developer Documentation > Operating System Services > Multiprocessing Services >

Adding Multitasking Capability to Applications Using Multiprocessing Services

   

MPDeleteCriticalRegion

Removes the specified critical region object.

OSStatus MPDeleteCriticalRegion (MPCriticalRegionID criticalRegion);
criticalRegion
A value of type MPCriticalRegionID that specifies the critical region object you want to remove.
function result
A result code. See Result Codes for a list of possible values.
DISCUSSION

Calling this function unblocks all tasks waiting to enter the critical region and their respective MPEnterCriticalRegion calls will return with the result code kMPDeletedErr .

VERSION NOTES

Introduced with Multiprocessing Services 1.0.

SEE ALSO

The function MPCreateCriticalRegion .


© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)